package com.jhx.mall.app.service.impl;

import com.jhx.mall.app.service.DtsUserService;
import com.jhx.mall.dao.DtsUserDao;
import com.jhx.mall.dao.impl.DtsUserDaoImpl;
import com.jhx.mall.entity.*;
import com.jhx.mall.vo.DtsFootprintVo;

import java.util.List;

public class DtsUserServiceImpl implements DtsUserService {

    DtsUserDao dao = new DtsUserDaoImpl();

    @Override
    public List<DtsUser> selectUserInfo(int id) {
        return dao.selectUserInfo(id);
    }

    @Override
    public List<DtsGoods> selectMyCollect(int userId) {
        return dao.selectMyCollect(userId);
    }

    @Override
    public List<DtsFootprintVo> selectMyFootprint(int userId) {
        return dao.selectMyFootprint(userId);
    }

    @Override
    public List<DtsGroupon> selectMyGroupon(int userId) {
        return dao.selectMyGroupon(userId);
    }

    @Override
    public int addFeedback(DtsFeedback feedback) {
        return dao.addFeedback(feedback);
    }

    @Override
    public int addCollect(DtsCollect collect) {
        return dao.addCollect(collect);
    }

    @Override
    public int delCollect(DtsCollect collect) {
        return dao.delCollect(collect);
    }


}
